package com.guigu.eduservice.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class EquipmentVo {
    private Integer typeId;//设备类型
    private String status;  //设备状态
    private Integer searchStatus;
    private Integer searchDetected;
    private Integer searchType;
    private String searchName;   //品牌


    private String sortType;//排序方式
    private Long selectedTypeId;//选中的设备类型id
    private List<String> brand; //设备品牌
    private List<String> model;//设备型号
    private List<String> location;  //地区
    private BigDecimal  minPrice;//价格最低
    private BigDecimal maxPrice;//价格最高
    private List<String> timeRange;//时间范围

    public static class TimeRange {
        public static final String ONE_DAY = "ONE_DAY";
        public static final String THREE_DAYS = "THREE_DAYS";
        public static final String ONE_WEEK = "ONE_WEEK";
        public static final String ONE_MONTH = "ONE_MONTH";
        public static final String THREE_MONTHS = "THREE_MONTHS";
        public static final String MORE_THAN_THREE_MONTHS = "MORE_THAN_THREE_MONTHS";
    }

    public static class SortType {
        public static final String PRICE_ASC = "priceAsc";
        public static final String PRICE_DESC = "priceDesc";
        public static final String TIME_DESC = "timeDesc";
        public static final String TIME_ASC = "timeAsc";
        public static final String HOUR_ASC = "hourAsc";
        public static final String HOUR_DESC = "hourDesc";
        public static final String YEAR_ASC = "yearAsc";
        public static final String YEAR_DESC = "yearDesc";
    }
}
